switch to produce pdf files, (optional, default F)
Value
xresults for all age classes
xpresults for all age classes, as proportion of total
xsresults for all age classes, as proportion of last class
lambdaratio of two consecutive values of xtot
xtottotal population
Details
To perform the simulation, we write a loop for time to iterate the multiplication of the matrix proj.mat by the state vector x. As time progresses in the loop, it calculates the total population xtot, the proportions xp in each class with respect to the total, and an approximation lambda to the dominant eigenvalue as the ratio of the total population at adjacent times, and the population is scaled with respect to the last class. Note that the calculation of lambda is the ratio of current year to previous.
References
Acevedo M.F. 2012. Simulation of Ecological and Environmental Models. CRC Press.